<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>入门案例</title>
	</head>
	<body>
		<div id="app">
			{{num}}<br/>
			<button  @click="add">自增</button>
			
		</div>
		<script src="../js/vue.js"></script>
		<script src="../js/axios.js"></script>
		<script>
			new Vue({
				el: "#app",
				data:{
					num:100
				},
				methods:{
					add(){
						this.num++
					}
				}
			})
		</script>
	</body>
</html>
